package com.fastCms.business.mall.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 企业员工福利表
 * </p>
 *
 * @author lsquan
 * @since 2019-05-27
 */
@Data
@ApiModel(value = "ProductPickRecord对象", description = "企业员工福利表")
public class ProductPickRecordVO {


    @ApiModelProperty(value = "产品提货码主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "组织编码")
    private String organizeCode;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "sku组合属性ID")
    private String skuAttr;

    @ApiModelProperty(value = "sku价格")
    private BigDecimal skuPrice;

    @ApiModelProperty(value = "商品规格描述(黑色|16GB）")
    private String skuDesc;

    @ApiModelProperty(value = "提示图片")
    private String noticeImage;

    @ApiModelProperty(value = "提货码数量")
    private Integer count;

    @ApiModelProperty(value = "已核销数量")
    private Integer usedCount;

    @ApiModelProperty(value = "核销总额")
    private BigDecimal usedAmount;

    @ApiModelProperty(value = "有效开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "有效截止时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "来源")
    private String sourceFrom;


    @ApiModelProperty(value = "来源信息明细")
    private String sourceInfo;

}
